package com.tanghy.web.service.impl;

import com.tanghy.mapper.TestTbMapper;
import com.tanghy.web.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/****************************************************************************************
 * Author: TangHuaiYu
 * Date: 2016/12/13
 * Time: 15:30
 * Description: 测试服务类
 ***************************************************************************************/

@Service(value = "TestService")
public class TestServiceImpl implements TestService {

    @Autowired
    private TestTbMapper testTbMapper;

    @Override
    public Object query(String item) {
        return null;
    }

    @Override
    public Object queryAll() {
        List list = testTbMapper.queryAll();
        return list;
    }
}